/*
 * @Description:
 * @Autor: 刘诗文
 * @Date: 2020-11-10 09:44:23
 * @LastEditors: 刘诗文
 * @LastEditTime: 2021-01-05 19:24:18
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';
// 获取维修建议列表
export const queryRepairSuggestCustomerCare = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/order/repairOrder/queryRepairSuggestCustomerCare`, { params });

// 获取维修建议项目
export const getAdviceLabour = params =>
  axios.get(`${SERVER.DMSCLOUD_REPAIR}/customer/adviceQuery/labour`, {
    params
  });
// 获取维修建议备件
export const getAdvicePart = params =>
  axios.get(`${SERVER.DMSCLOUD_CUSTOMERREPAIR}/customer/adviceQuery/part`, {
    params
  });
// 导出维修建议项目
export const exportLabour = params => axios.get(`${SERVER.DMSCLOUD_CUSTOMERREPAIR}/customer/adviceQuery/export`, params);
// 到处维修建议备件
export const exportPart = params => axios.get(`${SERVER.DMSCLOUD_CUSTOMERREPAIR}/customer/adviceQuery/export`, params);
// 获取经销商
export const getDealerCode = params =>
  axios.get(`${SERVER.DMSCLOUD_CUSTOMER}/customer/adviceQuery/DealerCode`, {
    params
  });
// 获取品牌
export const getbrandsdictList = params =>
  axios.get(`${SERVER.DMS_WEB}/manage/rest/basedata/brandsdict`, {
    params
  });
// 获取车系
export const getselectSeriesList = params =>
  axios.get(`${SERVER.DMS_WEB}/manage/rest/basedata/selectSeries`, {
    params
  });
// 获取车型
export const getselectModelList = params =>
  axios.get(`${SERVER.DMS_WEB}/manage/rest/basedata/selectModel`, {
    params
  });
// 获取部门
export const getMaintainAdvisorList = params =>
  axios.get(`${SERVER.DMS_WEB}/customer/rest/customer/solicitude/MaintainAdvisor`, {
    params
  });
// 获取保险
export const getinsuranceTypeNameList = params =>
  axios.get(`${SERVER.DMS_WEB}/customer/rest/customer/insurance/insuranceTypeName`, {
    params
  });
// 获取保险月
export const getinsuranceMonthkyList = params =>
  axios.get(`${SERVER.DMS_WEB}/customer/rest/customer/insurance/insuranceMonthky`, {
    params
  });
// 获取保险日
export const getinsuranceDaykyList = params =>
  axios.get(`${SERVER.DMS_WEB}/customer/rest/customer/insurance/insuranceDayky`, {
    params
  });

// 操作员、录入人
export const getAllUser = params => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/basedata/users/getDealerUser`);
